<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;


class UserReport extends Model
{
    protected $table = 'wy_user_report';
    public $timestamps = false;
    protected $primaryKey = 'id';


    public function user()
    {
        return $this->hasOne('App\Models\User', 'id' ,'report_obj_id','uid');
    }

}
